home *** CD-ROM | disk | FTP | other *** search
/ Almathera Ten Pack 3: CDPD 3 / Almathera Ten on Ten - Disc 3: CDPD3.iso / scope / 126-150 / scopedisk146 / liner / source / arexxwdw.h < prev    next >
C/C++ Source or Header  |  1995-03-19  |  5KB  |  491 lines

  1.  
  2. SHORT BorderVectors1[] = {
  3.     0,0,
  4.     98,0,
  5.     98,20,
  6.     0,20,
  7.     0,1
  8. };
  9. struct Border Border1 = {
  10.     -1,-1,
  11.     1,0,JAM1,
  12.     5,
  13.     BorderVectors1,
  14.     NULL
  15. };
  16.  
  17. struct IntuiText IText1 = {
  18.     1,0,JAM1,
  19.     26,6,
  20.     NULL,
  21.     "Cancel",
  22.     NULL
  23. };
  24.  
  25. struct Gadget Gadget10 = {
  26.     NULL,
  27.     346,99,
  28.     97,19,
  29.     NULL,
  30.    RELVERIFY,
  31.     BOOLGADGET,
  32.     (APTR)&Border1,
  33.     NULL,
  34.     &IText1,
  35.     NULL,
  36.     NULL,
  37.     10,
  38.     NULL
  39. };
  40.  
  41. SHORT BorderVectors2[] = {
  42.     0,0,
  43.     98,0,
  44.     98,20,
  45.     0,20,
  46.     0,1
  47. };
  48. struct Border Border2 = {
  49.     -1,-1,
  50.     1,0,JAM1,
  51.     5,
  52.     BorderVectors2,
  53.     NULL
  54. };
  55.  
  56. struct IntuiText IText2 = {
  57.     1,0,JAM1,
  58.     41,6,
  59.     NULL,
  60.     "OK",
  61.     NULL
  62. };
  63.  
  64. struct Gadget Gadget9 = {
  65.     &Gadget10,
  66.     11,99,
  67.     97,19,
  68.     NULL,
  69.     RELVERIFY,
  70.     BOOLGADGET,
  71.     (APTR)&Border2,
  72.     NULL,
  73.     &IText2,
  74.     NULL,
  75.     NULL,
  76.     9,
  77.     NULL
  78. };
  79.  
  80. UBYTE Name4SIBuff[80];
  81. struct StringInfo Name4SInfo = {
  82.    prefs.Name[3],
  83.     NULL,
  84.     0,
  85.     80,
  86.     0,
  87.     0,0,0,0,0,
  88.     0,
  89.     0,
  90.     NULL
  91. };
  92.  
  93. SHORT BorderVectors3[] = {
  94.     0,0,
  95.     202,0,
  96.     202,10,
  97.     0,10,
  98.     0,0
  99. };
  100. struct Border Border3 = {
  101.     -2,-1,
  102.     1,0,JAM1,
  103.     5,
  104.     BorderVectors3,
  105.     NULL
  106. };
  107.  
  108. struct Gadget Name4 = {
  109.     &Gadget9,
  110.     243,85,
  111.     199,9,
  112.     NULL,
  113.     NULL,
  114.     STRGADGET,
  115.     (APTR)&Border3,
  116.     NULL,
  117.     NULL,
  118.     NULL,
  119.     (APTR)&Name4SInfo,
  120.     NULL,
  121.     NULL
  122. };
  123.  
  124. UBYTE Name3SIBuff[80];
  125. struct StringInfo Name3SInfo = {
  126.     prefs.Name[2],
  127.     NULL,
  128.     0,
  129.     80,
  130.     0,
  131.     0,0,0,0,0,
  132.     0,
  133.     0,
  134.     NULL
  135. };
  136.  
  137. SHORT BorderVectors4[] = {
  138.     0,0,
  139.     202,0,
  140.     202,10,
  141.     0,10,
  142.     0,0
  143. };
  144. struct Border Border4 = {
  145.     -2,-1,
  146.     1,0,JAM1,
  147.     5,
  148.     BorderVectors4,
  149.     NULL
  150. };
  151.  
  152. struct Gadget Name3 = {
  153.     &Name4,
  154.     243,64,
  155.     199,9,
  156.     NULL,
  157.     NULL,
  158.     STRGADGET,
  159.     (APTR)&Border4,
  160.     NULL,
  161.     NULL,
  162.     NULL,
  163.     (APTR)&Name3SInfo,
  164.     NULL,
  165.     NULL
  166. };
  167.  
  168. UBYTE Macro4SIBuff[80];
  169. struct StringInfo Macro4SInfo = {
  170.     prefs.Macro[3],
  171.     NULL,
  172.     0,
  173.     80,
  174.     0,
  175.     0,0,0,0,0,
  176.     0,
  177.     0,
  178.     NULL
  179. };
  180.  
  181. SHORT BorderVectors5[] = {
  182.     0,0,
  183.     202,0,
  184.     202,10,
  185.     0,10,
  186.     0,0
  187. };
  188. struct Border Border5 = {
  189.     -2,-1,
  190.     1,0,JAM1,
  191.     5,
  192.     BorderVectors5,
  193.     NULL
  194. };
  195.  
  196. struct Gadget Macro4 = {
  197.     &Name3,
  198.     12,85,
  199.     199,9,
  200.     NULL,
  201.     NULL,
  202.     STRGADGET,
  203.     (APTR)&Border5,
  204.     NULL,
  205.     NULL,
  206.     NULL,
  207.     (APTR)&Macro4SInfo,
  208.     NULL,
  209.     NULL
  210. };
  211.  
  212. UBYTE Macro3SIBuff[80];
  213. struct StringInfo Macro3SInfo = {
  214.    prefs.Macro[2],
  215.     NULL,
  216.     0,
  217.     80,
  218.     0,
  219.     0,0,0,0,0,
  220.     0,
  221.     0,
  222.     NULL
  223. };
  224.  
  225. SHORT BorderVectors6[] = {
  226.     0,0,
  227.     202,0,
  228.     202,10,
  229.     0,10,
  230.     0,0
  231. };
  232. struct Border Border6 = {
  233.     -2,-1,
  234.     1,0,JAM1,
  235.     5,
  236.     BorderVectors6,
  237.     NULL
  238. };
  239.  
  240. struct Gadget Macro3 = {
  241.     &Macro4,
  242.     12,64,
  243.     199,9,
  244.     NULL,
  245.     NULL,
  246.     STRGADGET,
  247.     (APTR)&Border6,
  248.     NULL,
  249.     NULL,
  250.     NULL,
  251.     (APTR)&Macro3SInfo,
  252.     NULL,
  253.     NULL
  254. };
  255.  
  256. UBYTE Name2SIBuff[80];
  257. struct StringInfo Name2SInfo = {
  258.     prefs.Name[1],
  259.     NULL,
  260.     0,
  261.     80,
  262.     0,
  263.     0,0,0,0,0,
  264.     0,
  265.     0,
  266.     NULL
  267. };
  268.  
  269. SHORT BorderVectors7[] = {
  270.     0,0,
  271.     202,0,
  272.     202,10,
  273.     0,10,
  274.     0,0
  275. };
  276. struct Border Border7 = {
  277.     -2,-1,
  278.     1,0,JAM1,
  279.     5,
  280.     BorderVectors7,
  281.     NULL
  282. };
  283.  
  284. struct Gadget Name2 = {
  285.     &Macro3,
  286.     243,43,
  287.     199,9,
  288.     NULL,
  289.     NULL,
  290.     STRGADGET,
  291.     (APTR)&Border7,
  292.     NULL,
  293.     NULL,
  294.     NULL,
  295.     (APTR)&Name2SInfo,
  296.     NULL,
  297.     NULL
  298. };
  299.  
  300. UBYTE Name1SIBuff[80];
  301. struct StringInfo Name1SInfo = {
  302.     prefs.Name[0],
  303.     NULL,
  304.     0,
  305.     80,
  306.     0,
  307.     0,0,0,0,0,
  308.     0,
  309.     0,
  310.     NULL
  311. };
  312.  
  313. SHORT BorderVectors8[] = {
  314.     0,0,
  315.     202,0,
  316.     202,10,
  317.     0,10,
  318.     0,0
  319. };
  320. struct Border Border8 = {
  321.     -2,-1,
  322.     1,0,JAM1,
  323.     5,
  324.     BorderVectors8,
  325.     NULL
  326. };
  327.  
  328. struct Gadget Name1 = {
  329.     &Name2,
  330.     243,22,
  331.     199,9,
  332.     NULL,
  333.     NULL,
  334.     STRGADGET,
  335.     (APTR)&Border8,
  336.     NULL,
  337.     NULL,
  338.     NULL,
  339.     (APTR)&Name1SInfo,
  340.     NULL,
  341.     NULL
  342. };
  343.  
  344. UBYTE Macro2SIBuff[80];
  345. struct StringInfo Macro2SInfo = {
  346.     prefs.Macro[1],
  347.     NULL,
  348.     0,
  349.     80,
  350.     0,
  351.     0,0,0,0,0,
  352.     0,
  353.     0,
  354.     NULL
  355. };
  356.  
  357. SHORT BorderVectors9[] = {
  358.     0,0,
  359.     202,0,
  360.     202,10,
  361.     0,10,
  362.     0,0
  363. };
  364. struct Border Border9 = {
  365.     -2,-1,
  366.     1,0,JAM1,
  367.     5,
  368.     BorderVectors9,
  369.     NULL
  370. };
  371.  
  372. struct Gadget Macro2 = {
  373.     &Name1,
  374.     12,43,
  375.     199,9,
  376.     NULL,
  377.     NULL,
  378.     STRGADGET,
  379.     (APTR)&Border9,
  380.     NULL,
  381.     NULL,
  382.     NULL,
  383.     (APTR)&Macro2SInfo,
  384.     NULL,
  385.     NULL
  386. };
  387.  
  388. UBYTE Macro1SIBuff[80];
  389. struct StringInfo Macro1SInfo = {
  390.     prefs.Macro[0],
  391.     NULL,
  392.     0,
  393.     80,
  394.     0,
  395.     0,0,0,0,0,
  396.     0,
  397.     0,
  398.     NULL
  399. };
  400.  
  401. SHORT BorderVectors10[] = {
  402.     0,0,
  403.     202,0,
  404.     202,10,
  405.     0,10,
  406.     0,0
  407. };
  408. struct Border Border10 = {
  409.     -2,-1,
  410.     1,0,JAM1,
  411.     5,
  412.     BorderVectors10,
  413.     NULL
  414. };
  415.  
  416. struct Gadget Macro1 = {
  417.     &Macro2,
  418.     12,22,
  419.     199,9,
  420.     NULL,
  421.     NULL,
  422.     STRGADGET,
  423.     (APTR)&Border10,
  424.     NULL,
  425.     NULL,
  426.     NULL,
  427.     (APTR)&Macro1SInfo,
  428.     NULL,
  429.     NULL
  430. };
  431.  
  432. #define GadgetList1 Macro1
  433.  
  434. struct IntuiText IText7 = {
  435.     1,0,JAM1,
  436.     11,76,
  437.     NULL,
  438.     "Fourth macro:",
  439.     NULL
  440. };
  441.  
  442. struct IntuiText IText6 = {
  443.     1,0,JAM1,
  444.     11,55,
  445.     NULL,
  446.     "Third macro:",
  447.     &IText7
  448. };
  449.  
  450. struct IntuiText IText5 = {
  451.     1,0,JAM1,
  452.     11,34,
  453.     NULL,
  454.     "Second macro:",
  455.     &IText6
  456. };
  457.  
  458. struct IntuiText IText4 = {
  459.     1,0,JAM1,
  460.     242,13,
  461.     NULL,
  462.     "Menu names:",
  463.     &IText5
  464. };
  465.  
  466. struct IntuiText IText3 = {
  467.     1,0,JAM1,
  468.     11,13,
  469.     NULL,
  470.     "First macro:",
  471.     &IText4
  472. };
  473.  
  474. #define IntuiTextList1 IText3
  475.  
  476. struct NewWindow NewWindowStructure1 = {
  477.     102,34,
  478.     458,124,
  479.     0,1,
  480.     GADGETUP,
  481.     WINDOWDRAG+ACTIVATE,
  482.     &Macro1,
  483.     NULL,
  484.     "ARexx macro definitions",
  485.     NULL,
  486.     NULL,
  487.     5,5,
  488.     640,200,
  489.     CUSTOMSCREEN
  490. };
  491.